package com.itqf.service.impl;

import com.itqf.mapper.UserMapper;
import com.itqf.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * projectName: springframeworkgp8
 *
 * @author: 赵伟风
 * time: 2021/8/4 16:11
 * description:
 */
@Service
public class UserServiceImpl  implements UserService {


    @Autowired
    private UserMapper userMapper;

    @Override
    public void login() {
        System.out.println("UserServiceImpl.login");


        List<Map<Object, Object>> maps = userMapper.queryUsers();
        System.out.println("maps = " + maps);
    }
}
